<html>
    
    <head>
        <title>Vidracaria Tocantins</title>
    </head>

    <body style="font-family: monospace;">
        <h1>Calculo de balcao</h1>
        <form action="index.php" method="post">
        
            <input type="text" name=""




        <?php

        $largura="300px";
        $altura=array(60,50,40,20,10);
        $cont_alt=5;
        $cont_larg=6;
        $divisoes = array(60,60,60,30,30,50);

        for($i=0; $i<$cont_alt; $i++){
            echo "<table border='1'>";
            echo "<tr height='$altura[$i]'>";
            for ($j=0; $j<$cont_larg; $j++){
                echo "<td width='$divisoes[$j]'> $altura[$i] </td>";
            }
            echo "</tr>";
            echo "</table>";
        }
        for($i=0; $i<1; $i++){
            echo "<table>";
            //echo "<tr height='$altura[$i]'>";
            for ($j=0; $j<$cont_larg; $j++){
                echo " <td width='$divisoes[$j]'> $divisoes[$j] </td>";
            }
            echo "</tr>";
            echo "</table>";
        }
        
        
    ?>
    </bory>
</html>